﻿@using System.Collections.ObjectModel;
@{
	Collection<string> MultipleTextTypeSettings1 = new Collection<string>();
	MultipleTextTypeSettings1.Add("");
	MultipleTextTypeSettings1.Add("");
	MultipleTextTypeSettings1.Add("False");
	MultipleTextTypeSettings1.Add("False");
	MultipleTextTypeSettings1.Add("False");

	Collection<string> MultipleHtmlTextTypeSettings1 = new Collection<string>();
	MultipleHtmlTextTypeSettings1.Add("0");
	MultipleHtmlTextTypeSettings1.Add("");
	MultipleHtmlTextTypeSettings1.Add("");
	MultipleHtmlTextTypeSettings1.Add("False");
	MultipleHtmlTextTypeSettings1.Add("False");
	MultipleHtmlTextTypeSettings1.Add("False");

	Collection<string> ListBoxTypeSettings1 = new Collection<string>();
	ListBoxTypeSettings1.Add("整套出租|1$$$单间出租|2$$$床位出租|3");
	ListBoxTypeSettings1.Add("1");
	ListBoxTypeSettings1.Add("False");
	ListBoxTypeSettings1.Add("0");

	Collection<string> ListBoxTypeSettings2 = new Collection<string>();
	ListBoxTypeSettings2.Add("整套出租|1$$$单间出租|2$$$床位出租|3");
	ListBoxTypeSettings2.Add("2");
	ListBoxTypeSettings2.Add("False");
	ListBoxTypeSettings2.Add("0");

	Collection<string> ListBoxTypeSettings3 = new Collection<string>();
	ListBoxTypeSettings3.Add("整套出租|整套出租$$$单间出租|单间出租$$$床位出租|床位出租");
	ListBoxTypeSettings3.Add("3");
	ListBoxTypeSettings3.Add("False");
	ListBoxTypeSettings3.Add("2");

	Collection<string> ListBoxTypeSettings4 = new Collection<string>();
	ListBoxTypeSettings4.Add("整套出租|整套出租$$$单间出租|单间出租$$$床位出租|床位出租");
	ListBoxTypeSettings4.Add("4");
	ListBoxTypeSettings4.Add("False");
	ListBoxTypeSettings4.Add("2");

	Collection<string> NumberTypeSettings = new Collection<string>();
	NumberTypeSettings.Add("0");
	NumberTypeSettings.Add("99");
	NumberTypeSettings.Add("2");
	NumberTypeSettings.Add("True");

	Collection<string> MoneyTypeSettings = new Collection<string>();
	MoneyTypeSettings.Add("10");
	MoneyTypeSettings.Add("100");

	Collection<string> DateTimeTypeSettings = new Collection<string>();
	DateTimeTypeSettings.Add("date");
	DateTimeTypeSettings.Add("1");
	DateTimeTypeSettings.Add("False");

	Collection<string> LookTypeSettings = new Collection<string>();
	LookTypeSettings.Add("1");
	LookTypeSettings.Add("Title");

	Collection<string> BoolTypeSettings = new Collection<string>();
	BoolTypeSettings.Add("已开启");
	BoolTypeSettings.Add("已关闭");

	Collection<string> PictureTypeSettings = new Collection<string>();
	PictureTypeSettings.Add("100%");
	PictureTypeSettings.Add("1024");
	PictureTypeSettings.Add("jpg|gif|bmp|png");
	PictureTypeSettings.Add("False");
	PictureTypeSettings.Add("True");
	PictureTypeSettings.Add("True");
	PictureTypeSettings.Add("True");
	PictureTypeSettings.Add("False");
	PictureTypeSettings.Add("{$Random}");

	Collection<string> FileTypeSettings = new Collection<string>();
	FileTypeSettings.Add("1024");
	FileTypeSettings.Add("mp3|rm|rmvb|txt|rar|zip");
	FileTypeSettings.Add("False");
	FileTypeSettings.Add("False");
	FileTypeSettings.Add("FileSize");
	FileTypeSettings.Add("{$Random}");
	FileTypeSettings.Add("地址前缀");
	FileTypeSettings.Add("3");

	Collection<string> OperatingTypeSettings = new Collection<string>();
	OperatingTypeSettings.Add("选项1$$$选项2$$$选项3");
	OperatingTypeSettings.Add("100%");
	OperatingTypeSettings.Add("False");
	OperatingTypeSettings.Add("100");

	Collection<string> TitleTypeSettings = new Collection<string>();
	TitleTypeSettings.Add("200");
	TitleTypeSettings.Add("100%");
	TitleTypeSettings.Add("True");
	TitleTypeSettings.Add("False");

	Collection<string> RegionTypeSettings = new Collection<string>();
	RegionTypeSettings.Add("1");
	RegionTypeSettings.Add("5");
	RegionTypeSettings.Add("中华人民共和国,湖北省,武汉市,江汉区");

	Collection<string> RegionTypeFiveSettings = new Collection<string>();
	RegionTypeFiveSettings.Add("1");
	RegionTypeFiveSettings.Add("1");
	RegionTypeFiveSettings.Add("中华人民共和国,湖北省,武汉市,江汉区,,");

	Collection<string> RegionTypeTextSettings = new Collection<string>();
	RegionTypeTextSettings.Add("1");
	RegionTypeTextSettings.Add("5");
	RegionTypeTextSettings.Add("中华人民共和国,湖北省,武汉市,江汉区,详细地址");

	Collection<string> RegionTypeSelectSettings = new Collection<string>();
	RegionTypeSelectSettings.Add("湖北省,武汉市,江汉区");

	Collection<string> IndustryCategorySettings = new Collection<string>();
	IndustryCategorySettings.Add("0");

	Collection<string> ListBoxDataTypeSettings = new Collection<string>();
	ListBoxDataTypeSettings.Add("select * from log");
	ListBoxDataTypeSettings.Add("Title");
	ListBoxDataTypeSettings.Add("LogID");
	ListBoxDataTypeSettings.Add("Int");
	ListBoxDataTypeSettings.Add("2");
	ListBoxDataTypeSettings.Add("True");
	ListBoxDataTypeSettings.Add("3");

	Collection<string> PropertySettings = new Collection<string>();
	PropertySettings.Add("大|中|小");

	Collection<string> ProductStyleSettings = new Collection<string>();
	ProductStyleSettings.Add("红|白|黑");
}

	<form class="layui-form">
		<div>
			@await Component.InvokeAsync("FieldControl", new FieldControlViewModel
			{
				Prefix = "ctl",
				ModelID = 100,
				IsAdminManage = true,
				FieldName = "MultipleTextType",
				FieldValue = "MultipleTextType",
				FieldType = FieldType.MultipleTextType,
				FieldLevel = 1,
				FieldAlias = "",
				Tips = "",
				Description = "这个是MultipleTextType控件",
				Disabled = false,
				EnableNull = false,
				Settings = MultipleTextTypeSettings1
			})
		</div>
		<div>
			@await Component.InvokeAsync("FieldControl", new FieldControlViewModel
			{
				Prefix = "ctl",
				ModelID = 100,
				IsAdminManage = true,
				FieldName = "MultipleHtmlTextType",
				FieldValue = "MultipleHtmlTextType",
				FieldType = FieldType.MultipleHtmlTextType,
				FieldLevel = 1,
				FieldAlias = "",
				Tips = "",
				Description = "这个是MultipleHtmlTextType控件",
				Disabled = false,
				EnableNull = false,
				Settings = MultipleHtmlTextTypeSettings1
			})
		</div>
		<div>
			@await Component.InvokeAsync("FieldControl", new FieldControlViewModel
			{
				Prefix = "ctl",
				ModelID = 100,
				IsAdminManage = true,
				FieldName = "ListBoxType1",
				FieldValue = "1",
				FieldType = FieldType.ListBoxType,
				FieldLevel = 1,
				FieldAlias = "选项",
				Tips = "",
				Description = "这个是ListBoxType控件的单选下拉框",
				Disabled = false,
				EnableNull = false,
				Settings = ListBoxTypeSettings1
			})
		</div>
		<div>
			@await Component.InvokeAsync("FieldControl", new FieldControlViewModel
			{
				Prefix = "ctl",
				ModelID = 100,
				IsAdminManage = true,
				FieldName = "ListBoxType2",
				FieldValue = "1,2",
				FieldType = FieldType.ListBoxType,
				FieldLevel = 1,
				FieldAlias = "选项",
				Tips = "",
				Description = "这个是ListBoxType控件的多选下拉框",
				Disabled = false,
				EnableNull = false,
				Settings = ListBoxTypeSettings2
			})
		</div>
		<div>
			@await Component.InvokeAsync("FieldControl", new FieldControlViewModel
			{
				Prefix = "ctl",
				ModelID = 100,
				IsAdminManage = true,
				FieldName = "ListBoxType3",
				FieldValue = "整套出租",
				FieldType = FieldType.ListBoxType,
				FieldLevel = 1,
				FieldAlias = "选项",
				Tips = "",
				Description = "这个是ListBoxType控件的单选按纽",
				Disabled = false,
				EnableNull = false,
				Settings = ListBoxTypeSettings3
			})
		</div>
		<div>
			@await Component.InvokeAsync("FieldControl", new FieldControlViewModel
				{
					Prefix = "ctl",
					ModelID = 100,
					IsAdminManage = true,
					FieldName = "ListBoxType4",
					FieldValue = "整套出租",
					FieldType = FieldType.ListBoxType,
					FieldLevel = 1,
					FieldAlias = "选项",
					Tips = "",
					Description = "这个是ListBoxType控件的复选框",
					Disabled = false,
					EnableNull = false,
					Settings = ListBoxTypeSettings4
				})
		</div>
		<div>
			@await Component.InvokeAsync("FieldControl", new FieldControlViewModel
				{
					Prefix = "ctl",
					ModelID = 100,
					IsAdminManage = true,
					FieldName = "NumberType",
					FieldValue = "50",
					FieldType = FieldType.NumberType,
					FieldLevel = 1,
					FieldAlias = "",
					Tips = "",
					Description = "这个是NumberType控件",
					Disabled = false,
					EnableNull = true,
					Settings = NumberTypeSettings
				})
		</div>
		<div>
			@await Component.InvokeAsync("FieldControl", new FieldControlViewModel
				{
					Prefix = "ctl",
					ModelID = 100,
					IsAdminManage = true,
					FieldName = "MoneyType",
					FieldValue = "50",
					FieldType = FieldType.MoneyType,
					FieldLevel = 1,
					FieldAlias = "",
					Tips = "",
					Description = "这个是MoneyType控件",
					Disabled = false,
					EnableNull = true,
					Settings = MoneyTypeSettings
				})
		</div>
		<div>
			@await Component.InvokeAsync("FieldControl", new FieldControlViewModel
				{
					Prefix = "ctl",
					ModelID = 100,
					IsAdminManage = true,
					FieldName = "DateTimeType",
					FieldValue = "",
					FieldType = FieldType.DateTimeType,
					FieldLevel = 1,
					FieldAlias = "",
					Tips = "",
					Description = "这个是DateTimeType控件",
					Disabled = false,
					EnableNull = true,
					Settings = DateTimeTypeSettings
				})
		</div>
		<div>
			@await Component.InvokeAsync("FieldControl", new FieldControlViewModel
				{
					Prefix = "ctl",
					ModelID = 100,
					IsAdminManage = true,
					FieldName = "LookType",
					FieldValue = "",
					FieldType = FieldType.LookType,
					FieldLevel = 1,
					FieldAlias = "",
					Tips = "",
					Description = "这个是LookType控件",
					Disabled = false,
					EnableNull = false,
					Settings = LookTypeSettings
				})
		</div>
		<div>
			@await Component.InvokeAsync("FieldControl", new FieldControlViewModel
				{
					Prefix = "ctl",
					ModelID = 100,
					IsAdminManage = true,
					FieldName = "LinkType",
					FieldValue = "",
					FieldType = FieldType.LinkType,
					FieldLevel = 1,
					FieldAlias = "",
					Tips = "",
					Description = "这个是LinkType控件",
					Disabled = false,
					EnableNull = false
				})
		</div>
		<div>
			@await Component.InvokeAsync("FieldControl", new FieldControlViewModel
				{
					Prefix = "ctl",
					ModelID = 100,
					IsAdminManage = true,
					FieldName = "BoolType",
					FieldValue = "true",
					FieldType = FieldType.BoolType,
					FieldLevel = 1,
					FieldAlias = "",
					Tips = "",
					Description = "这个是BoolType控件",
					Disabled = false,
					EnableNull = true,
					Settings = BoolTypeSettings
				})
		</div>
		<div>
			@await Component.InvokeAsync("FieldControl", new FieldControlViewModel
				{
					Prefix = "ctl",
					ModelID = 100,
					IsAdminManage = true,
					FieldName = "ColorType",
					FieldValue = "#1c97f5",
					FieldType = FieldType.ColorType,
					FieldLevel = 1,
					FieldAlias = "",
					Tips = "",
					Description = "这个是ColorType控件",
					Disabled = false,
					EnableNull = true
				})
		</div>
		<div>
			@await Component.InvokeAsync("FieldControl", new FieldControlViewModel
				{
					Prefix = "ctl",
					ModelID = 100,
					IsAdminManage = true,
					FieldName = "NodeType",
					FieldValue = "",
					FieldType = FieldType.NodeType,
					FieldLevel = 1,
					FieldAlias = "",
					Tips = "",
					Description = "这个是NodeType控件",
					Disabled = false,
					EnableNull = false
				})
		</div>
		<div>
			@await Component.InvokeAsync("FieldControl", new FieldControlViewModel
				{
					Prefix = "ctl",
					ModelID = 100,
					IsAdminManage = true,
					FieldName = "NodeCategory",
					FieldValue = "",
					FieldType = FieldType.NodeCategory,
					FieldLevel = 1,
					FieldAlias = "",
					Tips = "",
					Description = "这个是NodeCategory控件",
					Disabled = false,
					EnableNull = false
				})
		</div>
		<div>
			@await Component.InvokeAsync("FieldControl", new FieldControlViewModel
				{
					Prefix = "ctl",
					ModelID = 100,
					IsAdminManage = true,
					FieldName = "TemplateType",
					FieldValue = "/首页模板/捷翔-网站首页.html",
					FieldType = FieldType.TemplateType,
					FieldLevel = 1,
					FieldAlias = "",
					Tips = "",
					Description = "这个是TemplateType控件",
					Disabled = false,
					EnableNull = false
				})
		</div>
		<div>
			@await Component.InvokeAsync("FieldControl", new FieldControlViewModel
				{
					Prefix = "ctl",
					ModelID = 100,
					IsAdminManage = true,
					FieldName = "OperatingType",
					FieldValue = "",
					FieldType = FieldType.OperatingType,
					FieldLevel = 1,
					FieldAlias = "",
					Tips = "",
					Description = "这个是OperatingType控件",
					Disabled = false,
					EnableNull = false,
					Settings = OperatingTypeSettings
				})
		</div>
		<div>
			@await Component.InvokeAsync("FieldControl", new FieldControlViewModel
				{
					Prefix = "ctl",
					ModelID = 100,
					IsAdminManage = true,
					FieldName = "Producer",
					FieldValue = "",
					FieldType = FieldType.Producer,
					FieldLevel = 1,
					FieldAlias = "",
					Tips = "",
					Description = "这个是Producer控件",
					Disabled = false,
					EnableNull = false
				})
		</div>
		<div>
			@await Component.InvokeAsync("FieldControl", new FieldControlViewModel
				{
					Prefix = "ctl",
					ModelID = 100,
					IsAdminManage = true,
					FieldName = "Trademark",
					FieldValue = "",
					FieldType = FieldType.Trademark,
					FieldLevel = 1,
					FieldAlias = "",
					Tips = "",
					Description = "这个是Trademark控件",
					Disabled = false,
					EnableNull = false
				})
		</div>
		<div>
			@await Component.InvokeAsync("FieldControl", new FieldControlViewModel
				{
					Prefix = "ctl",
					ModelID = 100,
					IsAdminManage = true,
					FieldName = "TitleType",
					FieldValue = "",
					FieldType = FieldType.TitleType,
					FieldLevel = 0,
					FieldAlias = "",
					Tips = "",
					Description = "这个是TitleType控件",
					Disabled = false,
					EnableNull = false,
					Settings = TitleTypeSettings
				})
		</div>
		<div>
			@await Component.InvokeAsync("FieldControl", new FieldControlViewModel
				{
					Prefix = "ctl",
					ModelID = 100,
					IsAdminManage = true,
					FieldName = "SelectUserType",
					FieldValue = "username",
					FieldType = FieldType.SelectUserType,
					FieldLevel = 1,
					FieldAlias = "",
					Tips = "",
					Description = "这个是SelectUserType控件",
					Disabled = false,
					EnableNull = true
				})
		</div>
		<div>
			@await Component.InvokeAsync("FieldControl", new FieldControlViewModel
				{
					Prefix = "ctl",
					ModelID = 100,
					IsAdminManage = true,
					FieldName = "IPType",
					FieldValue = "",
					FieldType = FieldType.IPType,
					FieldLevel = 1,
					FieldAlias = "",
					Tips = "",
					Description = "这个是IPType控件",
					Disabled = false,
					EnableNull = true
				})
		</div>
		<div>
			@await Component.InvokeAsync("FieldControl", new FieldControlViewModel
				{
					Prefix = "ctl",
					ModelID = 100,
					IsAdminManage = true,
					FieldName = "UserNameType",
					FieldValue = "",
					FieldType = FieldType.UserNameType,
					FieldLevel = 1,
					FieldAlias = "",
					Tips = "",
					Description = "这个是UserNameType控件",
					Disabled = false,
					EnableNull = true
				})
		</div>
		<div>
			@await Component.InvokeAsync("FieldControl", new FieldControlViewModel
					{
						Prefix = "ctl",
						ModelID = 100,
						IsAdminManage = true,
						FieldName = "RegionType",
						FieldValue = "",
						FieldType = FieldType.RegionType,
						FieldLevel = 1,
						FieldAlias = "",
						Tips = "",
						Description = "这个是RegionType控件",
						Disabled = false,
						EnableNull = true,
						Settings = RegionTypeSettings
					})
		</div>
		<div>
			@await Component.InvokeAsync("FieldControl", new FieldControlViewModel
				{
					Prefix = "ctl",
					ModelID = 100,
					IsAdminManage = true,
					FieldName = "RegionTypeFive",
					FieldValue = "",
					FieldType = FieldType.RegionTypeFive,
					FieldLevel = 1,
					FieldAlias = "",
					Tips = "",
					Description = "这个是RegionTypeFive控件",
					Disabled = false,
					EnableNull = true,
					Settings = RegionTypeFiveSettings
				})
		</div>
		<div>
			@await Component.InvokeAsync("FieldControl", new FieldControlViewModel
				{
					Prefix = "ctl",
					ModelID = 100,
					IsAdminManage = true,
					FieldName = "RegionTypeText",
					FieldValue = "",
					FieldType = FieldType.RegionTypeText,
					FieldLevel = 1,
					FieldAlias = "",
					Tips = "",
					Description = "这个是RegionTypeText控件",
					Disabled = false,
					EnableNull = true,
					Settings = RegionTypeTextSettings
				})
		</div>
		<div>
			@await Component.InvokeAsync("FieldControl", new FieldControlViewModel
				{
					Prefix = "ctl",
					ModelID = 100,
					IsAdminManage = true,
					FieldName = "RegionTypeSelect",
					FieldValue = "",
					FieldType = FieldType.RegionTypeSelect,
					FieldLevel = 1,
					FieldAlias = "",
					Tips = "",
					Description = "这个是RegionTypeSelect控件",
					Disabled = false,
					EnableNull = false,
					Settings = RegionTypeSelectSettings
				})
		</div>
		<div>
			@await Component.InvokeAsync("FieldControl", new FieldControlViewModel
				{
					Prefix = "ctl",
					ModelID = 100,
					IsAdminManage = true,
					FieldName = "ValidateCodeType",
					FieldValue = "",
					FieldType = FieldType.ValidateCodeType,
					FieldLevel = 1,
					FieldAlias = "",
					Tips = "",
					Description = "这个是ValidateCodeType控件",
					Disabled = false,
					EnableNull = true
				})
		</div>
		<div>
			@await Component.InvokeAsync("FieldControl", new FieldControlViewModel
				{
					Prefix = "ctl",
					ModelID = 100,
					IsAdminManage = true,
					FieldName = "IndustryCategory",
					FieldValue = "",
					FieldType = FieldType.IndustryCategory,
					FieldLevel = 1,
					FieldAlias = "",
					Tips = "",
					Description = "这个是IndustryCategory控件",
					Disabled = false,
					EnableNull = true,
					Settings = IndustryCategorySettings
				})
		</div>
		<div>
			@await Component.InvokeAsync("FieldControl", new FieldControlViewModel
				{
					Prefix = "ctl",
					ModelID = 100,
					IsAdminManage = true,
					FieldName = "ListBoxDataType",
					FieldValue = "1099,1100,1101",
					FieldType = FieldType.ListBoxDataType,
					FieldLevel = 1,
					FieldAlias = "",
					Tips = "",
					Description = "这个是ListBoxDataType控件",
					Disabled = false,
					EnableNull = true,
					Settings = ListBoxDataTypeSettings
				})
		</div>
		<div>
			@await Component.InvokeAsync("FieldControl", new FieldControlViewModel
				{
					Prefix = "ctl",
					ModelID = 100,
					IsAdminManage = true,
					FieldName = "NumBuilder",
					FieldValue = "",
					FieldType = FieldType.NumBuilder,
					FieldLevel = 1,
					FieldAlias = "",
					Tips = "",
					Description = "这个是NumBuilder控件",
					Disabled = false,
					EnableNull = true
				})
		</div>
		<div>
			@await Component.InvokeAsync("FieldControl", new FieldControlViewModel
				{
					Prefix = "ctl",
					ModelID = 100,
					IsAdminManage = true,
					FieldName = "QRCodeType",
					FieldValue = "QRCode/202008251654434884005.jpg",
					FieldType = FieldType.QRCodeType,
					FieldLevel = 1,
					FieldAlias = "",
					Tips = "",
					Description = "这个是QRCodeType控件",
					Disabled = false,
					EnableNull = true
				})
		</div>
		<div>
			@await Component.InvokeAsync("FieldControl", new FieldControlViewModel
				{
					Prefix = "ctl",
					ModelID = 100,
					IsAdminManage = true,
					FieldName = "StatusType",
					FieldValue = "",
					FieldType = FieldType.StatusType,
					FieldLevel = 0,
					FieldAlias = "",
					Tips = "",
					Description = "这个是StatusType控件",
					Disabled = false,
					EnableNull = true
				})
		</div>
		<div>
			@await Component.InvokeAsync("FieldControl", new FieldControlViewModel
				{
					Prefix = "ctl",
					ModelID = 100,
					IsAdminManage = true,
					FieldName = "Property",
					FieldValue = "L|M|S",
					FieldType = FieldType.Property,
					FieldLevel = 0,
					FieldAlias = "",
					Tips = "",
					Description = "这个是Property控件",
					Disabled = false,
					EnableNull = true,
					Settings = PropertySettings
				})
		</div>
		<div>
			@await Component.InvokeAsync("FieldControl", new FieldControlViewModel
				{
					Prefix = "ctl",
					ModelID = 100,
					IsAdminManage = true,
					FieldName = "ProductStyle",
					FieldValue = "红$202009021927014880058.jpg|白$202009021927566149533.jpg",
					FieldType = FieldType.ProductStyle,
					FieldLevel = 0,
					FieldAlias = "",
					Tips = "",
					Description = "这个是ProductStyle控件",
					Disabled = false,
					EnableNull = true,
					Settings = ProductStyleSettings
				})
		</div>
		<div>
			@await Component.InvokeAsync("FieldControl", new FieldControlViewModel
				{
					Prefix = "ctl",
					ModelID = 100,
					IsAdminManage = true,
					FieldName = "PictureType",
					FieldValue = "202008011402133144.jpg",
					FieldType = FieldType.PictureType,
					FieldLevel = 1,
					FieldAlias = "",
					Tips = "",
					Description = "这个是PictureType控件",
					Disabled = false,
					EnableNull = true,
					Settings = PictureTypeSettings
				})
		</div>
		<div>
			@await Component.InvokeAsync("FieldControl", new FieldControlViewModel
				{
					Prefix = "ctl",
					ModelID = 100,
					IsAdminManage = true,
					FieldName = "FileType",
					FieldValue = "202008191641104546.txt",
					FieldType = FieldType.FileType,
					FieldLevel = 1,
					FieldAlias = "",
					Tips = "",
					Description = "这个是FileType控件",
					Disabled = false,
					EnableNull = true,
					Settings = FileTypeSettings
				})
		</div>
		<button class="layui-btn" type="submit">提交</button>
	</form>
